package whf.framework.tools.db;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

/**
 * @author wanghaifeng
 *
 */
public class ExportSchema {
	public static void main(String[] args) {
		Configuration cfg = new Configuration().configure("hibernate.cfg.xml");
		new SchemaExport(cfg).create(true, true);
	}
}
